package com.u2framework.lib.tool.exp.table.bean;

import java.util.List;
import java.util.Map;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 表结构信息及表数据导出输出DTO类。
 *
 * @author SultansOfSwing & MaYue
 */
public class TableStructExportBean {
    /**
     * Schema名
     */
    @JSONField(name = "schema", ordinal = 1)
    private String schema;
    /**
     * 表名
     */
    @JSONField(name = "table", ordinal = 2)
    private String table;
    /**
     * 表名
     */
    @JSONField(name = "tableComment", ordinal = 3)
    private String tableComment;
    
    /**
     * 表定义信息返回结构列表。
     */
    @JSONField(name = "propertyList", ordinal = 4)
    private List<ColumnDescBean> columnDescList;
    /**
     * 表数据返回结构列表。
     */
    private List<Map<String, Object>> rowList;
    /**
     * tableSize
     */
    private Integer tableSize;

    /**
     * @return the columnDescList
     */
    public List<ColumnDescBean> getColumnDescList() {
        return columnDescList;
    }

    /**
     * @param columnDescList the columnDescList to set
     */
    public void setColumnDescList(List<ColumnDescBean> columnDescList) {
        this.columnDescList = columnDescList;
    }

    /**
     * @return the rowList
     */
    public List<Map<String, Object>> getRowList() {
        return rowList;
    }

    /**
     * @param rowList the rowList to set
     */
    public void setRowList(List<Map<String, Object>> rowList) {
        this.rowList = rowList;
    }

    /**
     * getTableSize
     * 
     * @return the tableSize
     */
    public Integer getTableSize() {
        return tableSize;
    }

    /**
     * setTableSize
     * 
     * @param tableSize the tableSize to set
     */
    public void setTableSize(Integer tableSize) {
        this.tableSize = tableSize;
    }

    /**
     * getSchema
     * 
     * @return the schema
     */
    public String getSchema() {
        return schema;
    }

    /**
     * setSchema
     * 
     * @param schema the schema to set
     */
    public void setSchema(String schema) {
        this.schema = schema;
    }

    /**
     * getTable
     * 
     * @return the table
     */
    public String getTable() {
        return table;
    }

    /**
     * setTable
     * 
     * @param table the table to set
     */
    public void setTable(String table) {
        this.table = table;
    }

    /**
     * getTableComment
     * 
     * @return the tableComment
     */
    public String getTableComment() {
        return tableComment;
    }

    /**
     * setTableComment
     * 
     * @param tableComment the tableComment to set
     */
    public void setTableComment(String tableComment) {
        this.tableComment = tableComment;
    }

}
